package com.cdtye.itps.cms.dao.detect;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.cdtye.common.mybatiscore.base.BaseEntity;
import com.cdtye.itps.cms.dao.enums.DelFlagEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 *
 * @author
 * @date 2021-12-21
 */
@ApiModel("局缺陷分类")
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("JCW_PROBLEM_DEFECT_CATEGORY")
public class JcwProblemDefectCategory extends BaseEntity {

    @ApiModelProperty(value = "缺陷类型名称")
    private String categoryName;

    @ApiModelProperty(value = "缺陷类型编码")
    private String categoryCode;

    @ApiModelProperty(value = "联级CODE")
    private String cascadeCode;

    @ApiModelProperty(value = "父ID")
    private String parentId;

    @ApiModelProperty(value = "缺陷等级ID")
    private String defectLevelId;

    @ApiModelProperty(value = "ID路径")
    private String idPath;

    @ApiModelProperty(value = "name路径")
    private String namePath;

    @ApiModelProperty(value = "排序号")
    private String sortNum;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty("删除标志，Y=是，N=否")
    @TableField(value ="DEL_FLAG", fill = FieldFill.INSERT)
    private String delFlag;

    @ApiModelProperty(value = "缺陷等级名称")
    private String defectLevelName;

    @ApiModelProperty(value = "标准缺陷编码")
    private String stdDefectCategoryNo;

}
